//import Vue from 'vue';

const toast = function(){
 	var node=document.createElement("div");      //创建一个li节点
 	node.id="toastId"
 	node.style="position: absolute;top: 0;left:0;bottom: 0;right: 0;display: flex;align-items: center;justify-content: center;z-index: 9;transition: opacity 5s linear;opacity:1";
 	node.innerHTML = "<div style='background: rgba(0, 0, 0, 0.7);color: #fff;font-size: 14px;border-radius: 5px;text-align: center;max-width: 50%;'>请输入正确的手机号码</div>";
 	node.style="position: absolute;top: 0;left:0;bottom: 0;right: 0;display: flex;align-items: center;justify-content: center;z-index: 9;transition: opacity 5s linear;opacity:0";
 	node.addEventListener('transitionend', function(event){
 	 		console.log(event,"event")
 	})
 	document.body.appendChild(node);
 	// Vue.nextTick(function(){
 	// 	document.getElementById('toastId').addEventListener('transitionend', function(event){
 	// 		console.log(event,"event")
 	// 	})
 	// })
	

}